<?php 
	if( $_SERVER['REQUEST_METHOD'] == "POST"){
		$company = $_POST['company'];
		$gn = $_POST['gn'];
		$url = "http://www.kuaidi100.com/applyurl?key=fa3a4b5e34f088&com=" . $company . "&nu=" . $gn;

		$src = file_get_contents($url);
		echo "<iframe src='{$src}' width='560' height='350'/>";die();
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link href=" " rel="stylesheet" type="text/css" />
	<script type="text/javascript" src=" "></script>
	<title>快递100接口查询</title>
</head>
<body>
	<h1>快递100接口查询</h1>
	<hr />
	<form action="" method="POST" enctype="multipart/form-data">
			
		<p>快递公司：
			<select name="company" id="">
				<option value="0">请选择....</option>
				<option value="yuantong">圆通快递</option>
				<option value="yunda">韵达</option>
			</select>
		</p>
		<p>
			单号：<input type="text" name="gn" value=""  id=""/>
		</p>
		<p>
			<input type="submit" value="提交" />
		</p>
	</form>
	
</body>
</html>